projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fbcd08
)
Make debug levels more sensible.
author
robertl
<robertl>
Thu, 14 Nov 2002 05:17:08 +0000
(
05:17
+0000)
committer
robertl
<robertl>
Thu, 14 Nov 2002 05:17:08 +0000
(
05:17
+0000)
garmin.c
patch
|
blob
|
history
diff --git
a/garmin.c
b/garmin.c
index dd969665a8e4cd51104a658d6c8596b20ed1a5fa..0e72b7c38a65bff1f6c362ae49c510b1277f7fe4 100644
(file)
--- a/
garmin.c
+++ b/
garmin.c
@@
-29,11
+29,14
@@
static const char *portname;
static void
rw_init(const char *fname, const char *opts)
{
- if (global_opts.debug_level >
1
) {
+ if (global_opts.debug_level >
0
) {
GPS_Enable_Warning();
GPS_Enable_User();
GPS_Enable_Diagnose();
}
+ if (global_opts.debug_level > 1) {
+ GPS_Enable_Diagnose();
+ }
GPS_Enable_Error();
if (GPS_Init(fname) < 0) {